const lock_field = {
    "addDisplay": false,
    "addDisabled": false,
    "editDisplay": false,
    "editDisabled": true,
    "showColumn": false,
};
export const tableOption = {
    "border": true,
    "stripe": true,
    "menuAlign": "center",
    "align": "center",
    "searchMenuSpan": 6,
    "height": "auto",
    "calcHeight": 140,
    "size": 'mini',
    rowKey: "tizhiId",
    "column": [{
        ...lock_field,
        "type": "input",
        "label": "编号",
        "prop": "tizhiId",
    }, {
        ...lock_field,
        "type": "input",
        "label": "学籍号",
        "prop": "tizhiStudent",
        "fixed": true,
    }, {
        ...lock_field,
        "type": "input",
        "label": "学期编号",
        "prop": "tizhiTerm",
        "hide": true,
    }, {
        label: "单项指标",
        children: [{
            label: "体重指数(BMI)",
            children: [
                { label: "成绩", type: "input", prop: "tizhiBodyMassIndex", bind: "tizhiBodyMassIndex.scores" },
                { label: "得分", type: "input", prop: "tizhiBodyMassIndex", bind: "tizhiBodyMassIndex.credits" },
                { label: "等级", type: "input", prop: "tizhiBodyMassIndex", bind: "tizhiBodyMassIndex.level" },
                { label: "免测说明", type: "input", prop: "tizhiBodyMassIndex", bind: "tizhiBodyMassIndex.marker" },
            ]
        }, {
            "label": "肺活量（毫升）",
            children: [
                { label: "成绩", type: "input", prop: "tizhiVitalCapacity", bind: "tizhiVitalCapacity.scores" },
                { label: "得分", type: "input", prop: "tizhiVitalCapacity", bind: "tizhiVitalCapacity.credits" },
                { label: "等级", type: "input", prop: "tizhiVitalCapacity", bind: "tizhiVitalCapacity.level" },
                { label: "免测说明", type: "input", prop: "tizhiVitalCapacity", bind: "tizhiVitalCapacity.marker" },
            ]
        }, {
            "label": "1000米（男）/800米（女）（分。秒）",
            children: [
                { label: "成绩", type: "input", prop: "tizhiM1000M800", bind: "tizhiM1000M800.scores" },
                { label: "得分", type: "input", prop: "tizhiM1000M800", bind: "tizhiM1000M800.credits" },
                { label: "等级", type: "input", prop: "tizhiM1000M800", bind: "tizhiM1000M800.level" },
                { label: "免测说明", type: "input", prop: "tizhiM1000M800", bind: "tizhiM1000M800.marker" },
            ]
        }, {
            "label": "50米跑（秒）",
            children: [
                { label: "成绩", type: "input", prop: "tizhiM50", bind: "tizhiM50.scores" },
                { label: "得分", type: "input", prop: "tizhiM50", bind: "tizhiM50.credits" },
                { label: "等级", type: "input", prop: "tizhiM50", bind: "tizhiM50.level" },
                { label: "免测说明", type: "input", prop: "tizhiM50", bind: "tizhiM50.marker" },
            ]
        }, {
            "label": "坐位体前屈（厘米）",
            children: [
                { label: "成绩", type: "input", prop: "tizhiSitForward", bind: "tizhiSitForward.scores" },
                { label: "得分", type: "input", prop: "tizhiSitForward", bind: "tizhiSitForward.credits" },
                { label: "等级", type: "input", prop: "tizhiSitForward", bind: "tizhiSitForward.level" },
                { label: "免测说明", type: "input", prop: "tizhiSitForward", bind: "tizhiSitForward.marker" },
            ]
        }, {
            "label": "立定跳远（厘米）",
            children: [
                { label: "成绩", type: "input", prop: "tizhiStandingJump", bind: "tizhiStandingJump.scores" },
                { label: "得分", type: "input", prop: "tizhiStandingJump", bind: "tizhiStandingJump.credits" },
                { label: "等级", type: "input", prop: "tizhiStandingJump", bind: "tizhiStandingJump.level" },
                { label: "免测说明", type: "input", prop: "tizhiStandingJump", bind: "tizhiStandingJump.marker" },
            ]
        }, {
            "label": "引体向上（男）/1分钟仰卧起坐（女）（次）",
            children: [
                { label: "成绩", type: "input", prop: "tizhiAbdominalCurl", bind: "tizhiAbdominalCurl.scores" },
                { label: "得分", type: "input", prop: "tizhiAbdominalCurl", bind: "tizhiAbdominalCurl.credits" },
                { label: "等级", type: "input", prop: "tizhiAbdominalCurl", bind: "tizhiAbdominalCurl.level" },
                { label: "免测说明", type: "input", prop: "tizhiAbdominalCurl", bind: "tizhiAbdominalCurl.marker" },
            ]
        }]
    }, {
        label: "加分指标",
        children: [{
            "label": "引体向上（男）/1分钟仰卧起坐（女）（次）-附加",
            children: [
                { label: "成绩", type: "input", prop: "tizhiAbdominalCurlExtra", bind: "tizhiAbdominalCurlExtra.scores" },
                { label: "得分", type: "input", prop: "tizhiAbdominalCurlExtra", bind: "tizhiAbdominalCurlExtra.credits" },
                { label: "等级", type: "input", prop: "tizhiAbdominalCurlExtra", bind: "tizhiAbdominalCurlExtra.level" },
            ],
        }, {
            "label": "1000米（男）/800米（女）（分。秒）",
            children: [
                { label: "成绩", type: "input", prop: "tizhiM1000M800Extra", bind: "tizhiM1000M800Extra.scores" },
                { label: "得分", type: "input", prop: "tizhiM1000M800Extra", bind: "tizhiM1000M800Extra.credits" },
                { label: "等级", type: "input", prop: "tizhiM1000M800Extra", bind: "tizhiM1000M800Extra.level" },
            ]
        }]
    }, {
        ...lock_field,
        "type": "input",
        "label": "创建人",
        "prop": "tizhiCreateUser",
    }, {
        ...lock_field,
        "type": "input",
        "label": "",
        "prop": "tizhiCreateTime",
    }, {
        ...lock_field,
        "type": "input",
        "label": "审核人",
        "prop": "tizhiApproveUser",
    }, {
        ...lock_field,
        "type": "input",
        "label": "",
        "prop": "tizhiApproveTime",
    }],
    // group: [{
    //     label: "附件",
    //     column: [{
    //         "type": "upload",
    //         "label": "附件",
    //         "prop": "attachment",
    //         "action": "/szpj/file/zp.ti.zhi/upload",
    //         "multiple": true,
    //     }],
    // }],

}